package com.example.graduationdesignbackend.constants;

public enum UserCode {
  LoginError(16001,"登录错误"),
  UnLogin(16002,"未登录"),
  LoginTimeOut(16003,"登录超时");
  private Integer code;
  private String name;
  
  
  UserCode(Integer code,String name){
    this.code = code;
    this.name = name;
  }
  public Integer getCode() {
    return this.code;
  }
  
  public void setCode(Integer code) {
    this.code = code;
  }
  public void setName(String name){
    this.name = name;
  }
  
  public String getName() {
    return this.name;
  }
}
